<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>显示所有用户组</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    	<css file="__PUBLIC__/css/base.css"/>
	<head>
<body>
<div class='now_path'>
		<strong>您现在的位置是:</strong>
		会员管理>显示所有用户组
</div>
	<div class="send1">
        <a href="__WEB__/admin/member/add_member_show" target="con" class="current button1">添加会员</a>
    </div>
    <table class='table1'>
    	<thead>
	        <tr>
	            <td width="100">会员组ID</td>
	            <td width="200">会员组名称</td>
	             <td width="200">状态</td>
				 <td>类型</td>
	            <td>操作</td>
	        </tr>
		</thead>
		<tbody>
			<foreach from='$roles' value='$v'>
		        <tr>
		            <td width="100">{$v.rid}</td>
		            <td width="200">{$v.rname}({$v.title})</td>
		             <td width="200"><if value='$v.status eq 1'>已启用&nbsp;<a href='__WEB__/admin/rbac/setstatus/rid/{$v.rid}/status/0'><font style='color:red;'>禁止</font></a><else /></else><a href='__WEB__/admin/rbac/setstatus/rid/{$v.rid}/status/1'>启用</a></if></td>
					 <td><if value='$v.issystem eq 1'>系统<else />用户</if></td>
		            <td>
		                <a href="javascript:;" onclick="if(confirm('确认删除吗？')){location.href='__CONTROL__/user_del/uid/{$v.uid}'}">删除</a>&nbsp;&nbsp;&nbsp;
		            </td>
		        </tr>
			</foreach>
		</tbody>
    </table>
</form>
</body>
</html>
